Method and apparatus for encoding/decoding

ABSTRACT

The present invention relates to a multimedia data encoding/decoding method and apparatus. The encoding method includes generating a data area including a plurality of media data areas; and generating a media information area including a plurality of track areas corresponding to the plurality of media data areas, respectively. According to the present invention, the multimedia data encoding/decoding method and apparatus has an effect of being capable of constructing a slide show by only a small amount of multimedia data. Thus, a time taken to process and transmit the multimedia data can reduce.

TECHNICAL FIELD

The present invention relates to a method and apparatus forencoding/decoding multimedia data including a video, an audio, and atext, and more particularly, to an encoding/decoding method andapparatus for sequentially reproducing a plurality of media data,thereby constructing a slide show.

BACKGROUND ART

There occurs a drawback in that a time required for encoding/decodingand a time required for data transmission increase because of a verylarge amount of data in a multimedia data processing method forintegrating and encoding/decoding various formats of media data such asa video, an audio, and a text.

DISCLOSURE OF INVENTION Technical Problem

Accordingly, the present invention is to solve at least the problems anddisadvantages of the background art.

The present invention is to provide a multimedia data structure forefficiently encoding/decoding multimedia data, and a multimedia dataencoding/decoding method and apparatus using the same.

Technical Solution

To achieve these and other advantages and in accordance with the purposeof the present invention, as embodied and broadly described, there isprovided an encoding method. The encoding method includes generating adata area including a plurality of media data areas; and generating amedia information area including a plurality of track areascorresponding to the plurality of media data areas, respectively. Thetrack area includes a media area having timing information forsequentially reproducing a plurality of media data included in the mediadata area, and the plurality of media data included in the data area aredependent on one timeline.

In another aspect, there is provided a decoding method. The decodingmethod includes receiving multimedia data, the multimedia dataincluding: a data area including a plurality of media data areas; and amedia information area including a plurality of track areascorresponding to the plurality of media data areas, respectively; andsequentially reproducing a plurality of media data included in the mediadata area, using timing information included in the track area. Theplurality of media data included in the data area are dependent on onetimeline.

In a further another aspect, there is provided an encoding apparatus.The encoding apparatus includes a data area generator for generating adata area including a plurality of media data areas; and a mediainformation area generator for generating a media information areaincluding a plurality of track areas corresponding to the plurality ofmedia data areas, respectively. The track area includes a media areahaving timing information for sequentially reproducing a plurality ofmedia data included in the media data area, and the plurality of mediadata included in the data area are dependent on one timeline.

In a yet another aspect, there is provided a decoding apparatus. Thedecoding apparatus includes a data input unit for receiving multimediadata including: a data area including a plurality of media data areas;and a media information area including a plurality of track areascorresponding to the plurality of media data areas, respectively; and areproducing unit for sequentially reproducing a plurality of media dataincluded in the media data area, using timing information included inthe track area. The plurality of media data included in the data areaare dependent on one timeline.

In a still another aspect, there is provided a multimedia datastructure. The structure includes a data area including a plurality ofmedia data areas; a media information area including a plurality oftrack areas corresponding to the plurality of media data areas,respectively; and a media area positioned within the track area, andhaving timing information for sequentially reproducing media dataincluded in the media data area. The media area includes a first area, asecond area, and a third area each having timing information, positioninformation, and size information on the media data.

ADVANTAGEOUS EFFECTS

According to the present invention, a multimedia data encoding/decodingmethod and apparatus has an effect of being capable of constructing aslide show by only a small amount of multimedia data. Thus, a time takento process and transmit the multimedia data can reduce.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be described in detail with reference to thefollowing drawings in which like numerals refer to like elements.

FIG. 1 is a schematic diagram illustrating an entire structure ofmultimedia data according to the present invention;

FIG. 2 illustrates a multimedia data structure according to a firstexemplary embodiment of the present invention;

FIG. 3 illustrates a multimedia data structure according to a secondexemplary embodiment of the present invention;

FIG. 4 illustrates a multimedia data structure according to a thirdexemplary embodiment of the present invention;

FIG. 5 illustrates timing information on a plurality of media dataaccording to an exemplary embodiment of the present invention;

FIG. 6 is a block diagram illustrating a construction of an encodingapparatus according to an exemplary embodiment of the present invention;

FIG. 7 is a block diagram illustrating a construction of a decodingapparatus according to an exemplary embodiment of the present invention;

FIG. 8 is a flowchart illustrating an encoding method according to thepresent invention; and

FIG. 9 is a flowchart illustrating a decoding method according to thepresent invention.

BEST MODE FOR CARRYING OUT THE INVENTION

Preferred embodiments of the present invention will be described in amore detailed manner with reference to the drawings.

FIG. 1 is a schematic diagram illustrating an entire structure ofmultimedia data according to the present invention. As shown, amultimedia data file is comprised of a file type area, a mediainformation area, and a data area.

The file type area represents a format of a multimedia data file, andcan be expressed in a form or version of the multimedia data file. Forexample, it can represent that the format of the multimedia data file isan MPEG-4 version 2 format when a file type is “mp42”.

The data area includes a plurality of media data areas. Each of themedia data areas includes media data. FIG. 1 shows that the data areaincludes first, second, and third media data areas. But, the data areacan also include four or more media data areas or two or less media dataareas. The media data areas can include several types of media data suchas image data, audio data, or text data. The image data can be stillpicture data or moving picture data.

The media information area has information on the media data included inthe data area. Referring to FIG. 1, it is desirable that the mediainformation area includes a plurality of track areas that correspond tothe plurality of media data areas included in the data area,respectively. In detail, the media information area can include a firsttrack area, a second track area, and a third track area. The first trackarea has information on the media data included in the first media dataarea. The second track area has information on the media data includedin the second media data area. The third track area has information onthe media data included in the second media data area.

The track area included in the media information area can have timinginformation for sequentially reproducing the media data included in thecorresponding media data area, thereby constructing a slide show. Forexample, the first track area can have information on a duration forreproducing the media data included in the first media data area.

The track area can include several pieces of information on the mediadata. For example, when the media data is music data, its correspondingtrack area can include musician information or musical composerinformation.

FIG. 2 illustrates a multimedia data structure according to a firstexemplary embodiment of the present invention. Media information areacan include track areas corresponding to media data areas, respectively,and a meta area. The track area can be comprised of a media area and atrack meta area.

The meta area is included in the media information area at the samelevel as those of the track areas. The meta area includes information onthe media data included in the data area. The information is informationon an attribute for distinguishing the plurality of media data from eachother. Desirably, the meta area includes identification (ID) informationand position information on the media data. More desirably, the metaarea can include name information, contents type information, ID,position information, and size information on the media data.

The following is an example of media data information included in themeta area. In this case, the first media data area includes the N numberof JPEG image data, and the second media data area includes MP3 audiodata, and the third media data area includes text data.

MP3 item_ID = 1 item_name = <rel. url to mp3> content_type = audio/mp3JPEG 1 item_ID = 2 item_name = <rel. url to jpeg 1> content_type =image/jpeg ... JPEG N item_ID = N+1 item_name = <rel. url to jpeg N>content_type = image/jpeg Text item_ID = N+2 item_name = <rel. url totext> content_type = text

The meta area includes a first meta area and a second meta area. Thefirst and second meta areas can share and include information on themedia data. For example, the first meta area can include name andcontent type information on the media data, and the second meta area caninclude physical position and size information on the media data.

A handler type of the meta area can be designated to “lsrl” and used.

Referring to FIG. 3, a meta area can include an animation area havinginformation on an animation effect to be applied to media data. Theanimation area can include at least one of grouping information on theanimation effect, and size information, opacity effect information, andgeometrical transform information on the media data to which theanimation effect is applied. The grouping information represents acombination of the animation effects to be applied to the media data.The size information describes a variation of an image size when themedia data is image data.

The opacity effect information describes an image fade-in or fade-outeffect. The geometrical transform information describes effects oftransition between images, image scale transform, rotation, and skew,and the like.

The animation area can include information on a motion path of an imageor information on motion paths of objects included in the image. Theanimation area can include image color change information or image forminformation. The image form information can be a rectangle, a circle, anoval, a line, a polyline, a polygon, and the like. The animation areacan include attribute control information for controlling the attributeof the media data, to realize several animation effects applicable tothe media data.

As shown in FIG. 4, a meta area can be positioned on a file level, notincluded in a media information area. In other words, a multimedia datafile can be comprised of four areas: a file type area, the meta area, amedia information area, and a data area.

The animation area can use a language such as Light-weight ApplicationScene Representation (LASeR), Scalable Vector Graphics (SVG), or BInaryFormat for Scene (BIFS), to describe animation effect information. TheLASeR, SVG, or BIFS can be realized in an eXtensible Mark-up Language(XML) format or a Binary encoded format.

The following is an example of the animation effect informationexpressed using the SVG, and expresses the opacity effect information,the scale transform information, and the size variation information.

<svg> <g id=“Article_Image”> <animate attributeName=“opacity”calcMode=“linear” values=“0.00;1.00;1.00;1.00;1.00;1.00;1.00;1.00”dur=“8.0” repeatDur=“indefinite”/> <animateTransformattributeName=“transform” type=“scale” additive=“sum” calcMode=“linear”values=“1.00 1.00;1.00 1.00;1.00 1.00;1.00 1.00;0.50 1.00;0.00 1.00;1.001.00” dur=“8.0” repeatDur=“indefinite”/> <image width=“200” height=“150”#sampleID = 1 > </image> </g> </svg>

A symbol (<) signifies a start, and a symbol (>) signifies an end. Asymbol (/) signifies an end of a context to be defined. For example, acontext of <svg> to </svg> is a bundle, and a context of <gid=“Article_image”> to </g> is a bundle, and a context of <imagewidth=“200” height=“150” #sample=1> to </image> is a bundle. The “g”denotes a group and the “Article_image” represents a name of the group(g) in the <g id=“Article_image”>. The “opacity” and “transform” arenames of animation attributes or animation effects. The “opacity” and“transform” represent opacity effect and geometrical transform,respectively. A symbol (sum) represents a sum of the animationattributes. A symbol (dur) represents information on the duration forreproducing the image data. A symbol (infinite) signifiesindefiniteness.

In case that the image data is regarded as one sample, an image to berealized by the image data (#sampleID=1) having an identification number(ID) of ‘1’ has a width of 200 and a height of 150 in size. Theanimation effect information expresses an animation effect of linearly(calcMode=“linear”) indefinitely repeating (repeatDur=“indefinite”) anon-opacity variation for the image data (#sampleID=1) from a fullnon-opacity (value=0.00) to an original non-opacity (value=1.00) duringeight seconds (dur=“8.0”). Also, the animation effect informationexpresses an animation effect of linearly (calcMode=“linear”)indefinitely repeating (repeatDur=“indefinite”) the size variation(“transform, “scale”) of the image data (#sampleID=1) from an originalimage size (value=1.00) to a half of a horizontal-direction size of animage (value=y;x=1.00;0.50) during eight seconds (dur=“8.0”). Also, theanimation effect information depicts simultaneous implementation(additive=“sum”) of the two animation effects.

The image data comprised of one or more samples is distinguished fromeach other in a chunk unit. The samples can be arranged in a temporalsequence at each chunk. Each sample included in the chunk has itsinherent identification number (ID). The inherent identification number(ID) of each sample can be given starting from ‘1’. The image data(#sampleID=1) having the inherent identification number (ID) of ‘1’represents, not data itself, its sample.

Referring to FIG. 2, the track area can include the media area, and thetrack meta area. The media area includes the timing information forsequentially reproducing the media data, thereby constructing the slideshow. The track meta area includes the information on the media data.

The timing information on the media data refers to information on theduration or a sequence for reproducing the media data on a timeline. Itis desirable that all the media data included in the data area aredependent on one timeline. In other words, it is desirable that thetiming information on all the media data included in the data area areexpressed on one timeline.

Each of the media data has the timing information, separately. Thus, thedurations of reproducing the media data, respectively, cannot beconsistent with each other.

The media area can include a first area having the reproduction durationinformation on the media data; a second area having the positioninformation on the media data; and a third area having the sizeinformation on the media data. The media data to be reproduced can besearched using the position and size information included in the secondand third areas.

The timing information on the media area can be expressed using thelanguage such as the LASeR, the SVG, or the BIFS. The LASeR, the SVG, orthe BIFS can be realized in the XML format or the Binary encoded format.

The timing information on all the media data included in the data areacan be included in one media area, for example, the media area of thefirst track area. Alternately, the media areas can have the timinginformation on the corresponding media data, respectively. In otherwords, the media area of the first track area can have the timinginformation on the first media data, and the media area of the secondtrack area can have the timing information on the second media data, andthe media area of the third track area can have the timing informationon the third media data.

The track meta area can include information for distinguishing the mediadata from each other. In other words, the attribute information on themedia data can be included in the meta area of the media informationarea, or included in the track meta area of the track area. In casewhere the information is included in the meta area, the information onall the media data included in the data area are desirably included inone meta area. In case where the information is included in the trackmeta area, the information on each media data is desirably divided andpositioned in the track meta area included in the corresponding trackarea. Also, the track meta area can have information on the animationeffect.

FIG. 3 illustrates a multimedia data structure according to a secondexemplary embodiment of the present invention. An data area can includean image data area, an audio data area, and a text data area. An mediainformation area can include a slide show area having information onimage data, an audio track area having information on audio data, and atext track area having information on text data.

The image data included in the image data area can be still picture dataor moving picture data. The image data can be data compressed in aformat of Joint Picture Expert Group (JPEG), Moving Picture Expert Group(MPEG)-1, 2, or Advanced Video Coding (AVC). In other words, the imagedata can be data such as various formats of video clips or photographsacquired by a device (not shown) such as a camcorder (not shown) or aportable terminal (not shown).

The audio data included in the audio data area can be music data,accompaniment data, or voice data. The audio data can be data compressedin a format of M PEG Layer-3 (MP3) or Advanced Audio Coding (AAC).Alternately, the audio data can be a result obtained by synthesizing theaccompaniment data and the voice data. The accompaniment data can bedata expressed by only a musical instrument sound excluding a musician'svoice in music.

The text data included in the text data area can be data having acharacter string distinguished in a line unit. In this case, each linecan be treated as a sample.

FIG. 5 illustrates timing information on a plurality of media dataaccording to an exemplary embodiment of the present invention. An imagedata area has six pieces of image data, and an audio data area has threepieces of audio data, and a text data area has four pieces of text data.

As shown in FIG. 5, the media data are dependent on one timeline, buthave timing information separately. Therefore, reproduction durationsmay not be consistent with each other. It is desirable that each of themedia data included in the media data area has reproduction durationinformation, position information, and size information.

A media area of a slide show area can have all of the reproductionduration information, the position information, and the size informationon the six pieces of image data, the three pieces of audio data, and thefour pieces of text data. In another exemplary embodiment, a media areaof a slide show area has reproduction duration information, positioninformation, and size information on six pieces of image data. A mediaarea of an audio track area has reproduction duration information,position information, and size information on three pieces of audiodata. A media area of a text track area can have reproduction durationinformation, position information, and size information on four piecesof text data.

FIG. 6 is a block diagram illustrating a construction of an encodingapparatus according to an exemplary embodiment of the present invention.The encoding apparatus includes a file type area generator 100, a mediainformation area generator 110, a data area generator 120, and an outputunit 130.

The file type area generator 100 generates a file type area representinga format of a multimedia data file (Step 300). The media informationarea generator 110 generates a media information area includinginformation on media data, for example, timing information on the mediadata included in a data area (Step 310). The data area generator 120generates a data area including a plurality of media data areas (Step320).

A sequence of generating the area in the encoding apparatus shown inFIG. 6 is merely one example of an operation of the encoding apparatusaccording to the present invention. Thus, it is not intended to limitthe scope of the present invention. The area generation sequence can bemodified, or two or more areas can be simultaneously generated inparallel.

The output unit 130 constructs the generated file type area, mediainformation area, and data area as one file, and outputs the encodedmultimedia data (Step 330).

A description of the file type area, the media information area, and thedata area is the same as the above description and thus, will beomitted.

FIG. 7 is a block diagram illustrating a construction of a decodingapparatus according to an exemplary embodiment of the present invention.The decoding apparatus includes a data input unit 200, a timinginformation extractor 210, an animation effect information extractor220, a media data extractor 230, and a reproducing unit 240. Anoperation of the decoding apparatus shown in FIG. 7 will be describedwith reference to FIG. 9. FIG. 9 is a flowchart illustrating a decodingmethod according to an exemplary embodiment of the present invention.

The data input unit 200 receives multimedia data (Step 400). The timinginformation extractor 210 extracts timing information on media data fromthe received multimedia data (Step 410). It is desirable that the timinginformation extractor 210 parses a media information area from thereceived multimedia data and then, extracts the timing information onthe media data from a media area included in the media information area.

The media data extractor 230 extracts the media data to be reproduceddepending on the extracted timing information from a data area (Step420). It is desirable that the media data extractor 230 searches thedata area for the media data, using size information and positioninformation on the media data included in the media area.

The reproducing unit 240 sequentially reproduces the extracted mediadata using the extracted timing information, thereby constructing aslide show (Step 430).

In case where there exists animation effect information in an animationarea, the animation effect information extractor 220 parses theanimation area, and extracts the animation effect information. Thereproducing unit 240 can reproduce image data included in an image dataarea, using the animation effect information. In addition, thereproducing unit 240 reproduce audio data and text data, using thetiming information extracted by the timing information extractor 210.

The encoding/decoding method according to the present invention can beprogrammed for execution in a computer and stored in a computer readablerecording medium. The multimedia data having the data structureaccording to the present invention can be also stored in the computerreadable recording medium. The computer readable recording mediumincludes all kinds of storage units storing data readable by a computersystem. The computer readable recording medium is exemplified as a ReadOnly Memory (ROM), a Random Access Memory (RAM), a Compact-Disk ReadOnly Memory (CD-ROM), a magnetic tape, a floppy disk, and an optic datastorage unit, and includes a unit realized in a format of carrier wave(e.g., Internet transmission). The computer readable recording medium isdispersed to the computer system connecting thereto through a network,and can store and execute a computer readable code in a dispersionmethod. Function program, code and code segments for realizing a usertracking method can be easily inferred by programmers in a technologicalfield of the present invention.

INDUSTRIAL APPLICABILITY

As described above, an encoding/decoding method and apparatus accordingto the present invention can be widely used for a multimedia player or amultimedia coding device for reproducing a plurality of media data,thereby reducing a time taken to process and transmit the multimediadata.

The invention being thus described, it will be obvious that the same maybe varied in many ways. Such variations are not to be regarded as adeparture from the spirit and scope of the invention, and all suchmodifications as would be obvious to one skilled in the art are intendedto be included within the scope of the following claims.

1. An encoding method comprising: generating a data area comprising aplurality of media data areas; and generating a media information areacomprising a plurality of track areas corresponding to the plurality ofmedia data areas, respectively, wherein the track area comprises a mediaarea having timing information for reproducing a plurality of media datacomprised in the media data area, and the plurality of media datacomprised in the data area are dependent on one timeline.
 2. Theencoding method of claim 1, wherein the media area comprises a firstarea, a second area, and a third area each having the timinginformation, position information, and size information on the mediadata.
 3. The encoding method of claim 1, comprising generating a metaarea comprising meta information on the media data.
 4. The encodingmethod of claim 3, wherein a file type area, a media information areacomprising the plurality of track areas and the meta area, and the dataarea constitute one file, and the file type area has information on aformat of the file.
 5. The encoding method of claim 1, wherein the dataarea comprises an image data area having a plurality of image data, andthe media information area comprises a slide show area corresponding tothe image data area.
 6. The encoding method of claim 5, wherein theslide show area has the timing information, position information, andsize information on each of the plurality of image data comprised in theimage data area.
 7. The encoding method of claim 5, wherein the slideshow area comprises all of the timing information, position information,and size information on the plurality of media data.
 8. The encodingmethod of claim 5, wherein the plurality of track areas each comprise amedia area having the timing information on the media data, and a metaarea having meta information on the media data.
 9. The encoding methodof claim 1, wherein there exists the timing information on each of theplurality of media data.
 10. A decoding method comprising: receivingmultimedia data, the multimedia data comprising: a data area comprisinga plurality of media data areas; and a media information area comprisinga plurality of track areas corresponding to the plurality of media dataareas, respectively; and reproducing a plurality of media data comprisedin the media data area, using timing information comprised in the trackarea, wherein the plurality of media data comprised in the data area aredependent on one timeline.
 11. The decoding method of claim 10, whereinthe track area comprises a first area, a second area, and a third areaeach having the timing information, position information, and sizeinformation on the media data.
 12. The decoding method of claim 10,wherein the data area comprises an image data area having a plurality ofimage data, and the media information area comprises a slide show areacorresponding to the image data area.
 13. The decoding method of claim12, wherein the slide show area has the timing information, positioninformation, and size information on each of the plurality of image datacomprised in the image data area.
 14. The decoding method of claim 12,wherein the slide show area comprises all of the timing information,position information, and size information on the plurality of mediadata.
 15. The decoding method of claim 10, wherein there exists thetiming information on each of the plurality of media data.
 16. Anencoding apparatus comprising: a data area generator for generating adata area comprising a plurality of media data areas; and a mediainformation area generator for generating a media information areacomprising a plurality of track areas corresponding to the plurality ofmedia data areas, respectively, wherein the track area comprises a mediaarea having timing information for reproducing a plurality of media datacomprised in the media data area, and the plurality of media datacomprised in the data area are dependent on one timeline.
 17. Theencoding apparatus of claim 16, wherein the media area comprises a firstarea, a second area, and a third area each having the timinginformation, position information, and size information on the mediadata.
 18. The encoding apparatus of claim 17, wherein the slide showarea has the timing information, position information, and sizeinformation on each of the plurality of image data comprised in theimage data area.
 19. The encoding apparatus of claim 16, wherein thereexists the timing information on each of the plurality of media data.20. A decoding apparatus comprising: a data input unit for receivingmultimedia data, the multimedia data comprising: a data area comprisinga plurality of media data areas; and a media information area comprisinga plurality of track areas corresponding to the plurality of media dataareas, respectively; and a reproducing unit for reproducing a pluralityof media data comprised in the media data area, using timing informationcomprised in the track area, wherein the plurality of media datacomprised in the data area are dependent on one timeline.
 21. Thedecoding apparatus of claim 20, wherein the track area comprises a firstarea, a second area, and a third area each having the timinginformation, position information, and size information on the mediadata.
 22. The decoding apparatus of claim 20, wherein the data areacomprises an image data area having a plurality of image data, and themedia information area comprises a slide show area corresponding to theimage data area.
 23. A multimedia data structure comprising: a data areacomprising a plurality of media data areas; a media information areacomprising a plurality of track areas corresponding to the plurality ofmedia data areas, respectively; and a media area positioned within thetrack area, and having timing information for reproducing media datacomprised in the media data area, wherein the media area comprises afirst area, a second area, and a third area each having timinginformation, position information, and size information on the mediadata.
 24. A computer readable recording medium for recording program forexecuting, by a computer, a method claimed in claim 1.